<?php
if (!defined('TYPO3_MODE')) {
	die ('Access denied.');
}

$TCA['tx_mtpaymenager_setting'] = array (
	'ctrl' => $TCA['tx_mtpaymenager_setting']['ctrl'],
	'interface' => array (
		'showRecordFieldList' => 'hidden,title,idseller,price,desctransation'
	),
	'feInterface' => $TCA['tx_mtpaymenager_setting']['feInterface'],
	'columns' => array (
		'hidden' => array (		
			'exclude' => 1,
			'label'   => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
			'config'  => array (
				'type'    => 'check',
				'default' => '0'
			)
		),
		'title' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_setting.title',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
		'idseller' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_setting.idseller',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
		'price' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_setting.price',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',	
				'eval' => 'double2',
			)
		),
		'desctransation' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_setting.desctransation',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
	),
	'types' => array (
		'0' => array('showitem' => 'hidden;;1;;1-1-1, title;;;;2-2-2, idseller;;;;3-3-3, price, desctransation')
	),
	'palettes' => array (
		'1' => array('showitem' => '')
	)
);



$TCA['tx_mtpaymenager_code'] = array (
	'ctrl' => $TCA['tx_mtpaymenager_code']['ctrl'],
	'interface' => array (
		'showRecordFieldList' => 'hidden,code,title'
	),
	'feInterface' => $TCA['tx_mtpaymenager_code']['feInterface'],
	'columns' => array (
		'hidden' => array (		
			'exclude' => 1,
			'label'   => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
			'config'  => array (
				'type'    => 'check',
				'default' => '0'
			)
		),
		'code' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_code.code',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
		'title' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:mt_paymenager/locallang_db.xml:tx_mtpaymenager_code.title',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
	),
	'types' => array (
		'0' => array('showitem' => 'hidden;;1;;1-1-1, code, title;;;;2-2-2')
	),
	'palettes' => array (
		'1' => array('showitem' => '')
	)
);
?>